let nav = document.querySelector('.nav')
let btn = document.querySelector('button')
btn.addEventListener('click', (e) => {
    nav.classList.toggle('active')
})